<!DOCTYPE html>

<html>
	<head>
		<title>#{get 'title' /}</title>
        <meta charset="utf-8">
        
        #{stylesheet 'main.css' /}
        #{get 'moreStyles' /}

        #{script 'jquery-1.5.2.min.js' /}
        #{get 'moreScripts' /}
	</head>
	<body>
		<div id="layout">
			<noscript>
				<div style="width: 100%;height: 100%;background-color: black;opacity:0.7;position: fixed;top:0;left: 0">
					<div style="font-size:large;margin:0 auto;padding:10px;width:200px;border: 3px solid red;color:black;background-color: #EFEFEF">
						Please turn on Javascript
					</div>
				</div>
			</noscript>
			#{if sessionUser!=null}
				<div id="header">#{headerlinke/}</div>
			#{/if}
			#{else}
			<div id="header">#{header/}</div>
			#{/else}
			<div id="main">
			#{if sessionUser!=null}
				<div id="main-sidebar">#{sidebarlinke/}</div>
			#{/if}
			#{else}
			
				<div id="main-sidebar">#{login/}</div>
			#{/else}
				<div id="main-content"> #{doLayout/}</div>
				<div class="cleaner" ></div>
			</div>
			<div id="footer">#{footer/}</div>
		</div>
	</body>
</html>
